import {PluginInterface} from "../event/ShellOnLine";
import logger from "../tools/logger";

const help: PluginInterface = {
    register: "help",
    additional_parameters: "请键入 HELP 查询全部插件",
    ignore_case: true,
    use: (ctx) => {
        ctx.registerPlugins.map(x=>{
            console.info(`${x.register} ${x.additional_parameters}`)
        })
    }
}

export default help